import streamlit as st
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
df = pd.DataFrame(np.random.randn(20, 3), columns=['a', 'b', 'c'])
st.line_chart(df)
st.area_chart(df)
st.bar_chart(df)
arr = np.random.normal(1, 1, size=100)
# fig, ax = plt.subplot()
# ax.scatter([1,2,3], [1,2,3])
plt.hist(arr, bins=20)
st.set_option('deprecation.showPyplotGlobalUse', False)
st.pyplot()

df_location = pd.DataFrame(np.random.randn(1000, 2) / [50, 50] + [37.76, -122.4], columns=['lat', 'lon'])
st.map(df_location)
# st.altair_chart()
# st.vega_lite_chart()
# st.plotly_chart()
# st.bokeh_chart()
# st.pydeck_chart()
# st.deck_gl_chart()
# st.graphviz_chart()